package com.itheima.singletontest.dao.impl;

import com.itheima.singletontest.dao.StudentDao;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;

/**
 * StudentDaoA
 *
 * @author liliudong
 * @version 1.0
 * @description
 * @date 2023/4/24 9:51
 */
@Primary
@Repository
public class StudentDaoA implements StudentDao {
    @Override
    public String list() {
        return "我返回了StudentDaoA的方法结果";
    }
}
